package com.define.ssh.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.define.ssh.dao.UserFuncDao;
import com.define.ssh.model.UserFunc;
import com.define.ssh.service.UserFuncService;

@Service("userFuncServiceImpl")
public class UserFuncServiceImpl extends BaseServiceImpl<UserFunc, Long>
		implements UserFuncService {

	@Resource(name = "userFuncDaoImpl")
	private UserFuncDao userFuncDao;

	@Resource(name = "userFuncDaoImpl")
	public void setBaseDao(UserFuncDao userFuncDao) {
		super.setBaseDao(userFuncDao);
	}

	/***
	 * 删除该用户 对应的权限
	 * 
	 * @param user_id
	 */
	@Override
	public void delUserFuncByUserId(Long user_id) {
		userFuncDao.delUserFuncByUserId(user_id);
	}
}
